 <?php
 
 $this->breadcrumbs=array(
	Yii::t('labs', 'Labs')=>array('index'),
	$model->project->pro_title=>array('sview','id'=>$model->sol_id),
	'更新解决方案'

);

?>           <div class="post single clearfix">
                <hr />
					
                <h2><?php echo $model->project->pro_title; ?></h2>
					
				<ul class="post-meta">
                    <li class="author">By <a href="./blog_post.html"><?php echo $model->user->user_name;?></a></li>
                    <li class="date"><?php echo UtilTools::timeop($model->project->pro_created);?></li>
                    <li class="tags"><?php echo Tag::model()->tagsToLinks($model->project->pro_tags, 'labs/tags');?></li>
					<?php if(UtilAuth::isLogin($model->project->pro_uid)):?>
					<li class="modify"><?php echo UtilAuth::getAuthLinks('编辑', array('update','id'=>$model->project->pro_id));?></li>
					<?php endif;?>
                </ul>
                <div class="post-entry">
     				<div class="right" style="margin-top: -50px;">
                        <?php if(UtilAuth::isLogin($model->project->pro_uid)):?>
    					<button type="button" class="cupid-blue" onclick="location.href='<?php echo $this->createUrl('solution',array('id'=>$model->project->pro_id)) ?>'">创建新解决方案</button>
                        <?php endif;?>
    				</div>
                    
                    <blockquote>
                        问题摘要：
                        <?php echo Project::model()->getBrifeDescript($model->project); ?>
                        <hr /> 
    
                    </blockquote>
                    <h2>解决方案：</h2>
    			
			</div>
			<?php echo $this->renderPartial('_sform', array('model'=>$model)); ?>
            
            </div>
